<h1>Editing story</h1>

<%= error_messages_for :story %>

<% form_for(@story) do |f| %>
  <p>
    <b>Iteration</b><br />
    <%= f.text_field :iteration_id %>
  </p>

  <p>
    <b>Name</b><br />
    <%= f.text_field :name %>
  </p>

  <p>
    <b>Description</b><br />
    <%= f.text_area :description %>
  </p>

  <p>
    <b>Work units est</b><br />
    <%= f.text_field :work_units_est %>
  </p>

  <p>
    <b>Completed</b><br />
    <%= f.check_box :completed %>
  </p>

  <p>
    <b>Created by</b><br />
    <%= f.text_field :created_by %>
  </p>

  <p>
    <b>Updated by</b><br />
    <%= f.text_field :updated_by %>
  </p>

  <p>
    <%= f.submit "Update" %>
  </p>
<% end %>

<%= link_to 'Show', @story %> |
<%= link_to 'Back', stories_path %>
